package com.landinfo.service;

import com.landinfo.service.dto.BookMarkDTO;

import java.util.List;

/**
 * Service Interface for managing BookMark.
 */
public interface BookMarkService {

  /**
   * Save a bookMark.
   *
   * @param bookMarkDTO the entity to save
   * @return the persisted entity
   */
  BookMarkDTO save(BookMarkDTO bookMarkDTO);

  /**
   * Get all the bookMarks.
   *
   * @return the list of entities
   */
  List<BookMarkDTO> findAll();

  /**
   * 根据用户登录名获取书签
   * @return
   */
  List<BookMarkDTO> getAllBookMarksByUser(String loginName);


  /**
   * Get the "id" bookMark.
   *
   * @param id the id of the entity
   * @return the entity
   */
  BookMarkDTO findOne(String id);

  /**
   * Delete the "id" bookMark.
   *
   * @param id the id of the entity
   */
  void delete(String id);
}
